<#include "../module/macro.ftl">
<@head title="今日头条 · ${options.blog_title?default('Anatole')}" keywords="今日头条,${options.seo_keywords?default('Anatole')}" description="${options.seo_desc?default('Anatole')}"></@head>
<#include "../module/sidebar.ftl">
<div class="main">
    <#include "../module/page-top.ftl">
    <div class="autopagerize_page_element">
        <div class="content ">
			    <#list posts.content as tt>
			    	<div class="post animated fadeInDown"  style="border-bottom:1px solid #e8e8e8;">
				        <div class="post-title">
				                <a href="${tt.url}" target="view_window" style="text-decoration:underline">${tt.title}</a></br>
				        		
			        			<img onclick="window.open('${tt.url}')" alt="?" src="${tt.thumbnail_pic_s}" style="height: 120px;width: 160px;">
			        			${tt.author_name}
				        </div>
				    </div>
			    </#list>
			    <#if posts.totalPages gt 1>
                <div class="pagination">
                    <ul class="clearfix">
                        <#if posts.hasPrevious()>
                            <#if posts.number == 1>
                                <li class="pre pagbuttons">
                                    <a class="btn" role="navigation" href="/touTiao/touTiao">上一页</a>
                                </li>
                                <#else >
                                <li class="pre pagbuttons">
                                    <a class="btn" role="navigation" href="/touTiao/page/${posts.number}">上一页</a>
                                </li>
                            </#if>
                        </#if>
                        <#if posts.hasNext()>
                        <li class="next pagbuttons">
                            <a class="btn" role="navigation" href="/touTiao/page/${posts.number+2}">下一页</a>
                        </li>
                        </#if>
                    </ul>
                </div>
            </#if>
        </div>
    </div>
</div>
<script type="text/javascript">
$(function(){
	readMenu('今日头条');
})
</script>
<@footer></@footer>